package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelCommend;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TravelCommendQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ITravelCommendService {

    PageInfo getList(TravelCommendQueryObject qo);

    void saveOrUpdate(TravelCommend travelCommend);

    /**
     * app端的推荐查询
     * @param qo
     * @return
     */
    PageInfo getListApp(TravelCommendQueryObject qo);
}
